package info.help;

import java.io.IOException;
import java.io.InputStream;

public class MFile {

	
	public static String readStream(InputStream in){
		byte[] buffer = new byte[1024];
		String s="";
		try {
			while(in.read(buffer)!=-1){
				s+=new String(buffer,"UTF-8");
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
		return s;
	}
}
